home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Computer Select (Limited Edition)
/
Computer Select.iso
/
pcc
/
v04n10
/
contct.doc
< prev
next >
Wrap
Text File
|
1991-09-10
|
2KB
|
41 lines
PC/Computing October 1991 CONTACT.DOC
David Rygmyr Page 306
A Do-It-Yourself Database Courtesy of QBasic
-----------------------------------------------
Locate information about contacts even when you can't
remember their names.
CONTACTS.BAS, a simple QBASIC program, records names and
phone numbers in a file named CONTACTS.TXT. It also lets
you search through the database file for information you've
already entered, by either first or last name; when it
finds a match, it displays the record (or records, if it
finds more than one).
To use CONTACTS.BAS, you'll need a copy of QBasic, and if
you haven't yet moved to DOS 5.0, here's another incentive:
The upgrade includes QBasic and its development environment.
The simplest way to use CONTACTS.BAS is to create a
CONTACTS.BAT batch file containing this command:
QBASIC /RUN CONTACTS.BAS
This assumes you're starting the program from the directory
that contains both CONTACTS.BAS and CONTACTS.TXT. If
they're in another directory, you should begin the batch
file with a line that changes to the directory containing
those files. Otherwise, you might findf yourself with
several copies of CONTACTS.TXT on your disk instead of one.
(CONTACTS.BAS opens or creates CONTACTS.TXT in the current
directory.
Material in this document may not be reproduced in any form
without permission. Written requests for permission should
be addressed to Chantal Lavelanet, Ziff-Davis Publishing
Company, One Park Avenue, New York, NY 10016.